2024-12-16 23:28:23,304 - INFO - Num classes: 4
2024-12-22 00:34:18,086 - INFO - Num classes: 4
2024-12-22 01:05:16,564 - INFO - Class weights: tensor([0.3567, 8.0895, 2.2255, 1.6043], device='cuda:0')
2024-12-22 01:05:17,030 - INFO - Model architecture:
HyperspectralLogisticRegressionModel(
  (linear): Linear(in_features=1024, out_features=4, bias=True)
)
2024-12-22 01:05:17,030 - INFO - Using cuda device
2024-12-22 01:44:07,726 - INFO - Epoch: 0/100. Training time: 1853.863
2024-12-22 01:44:07,754 - INFO - Training Metrics...
2024-12-22 01:44:07,754 - INFO - {'loss': 0.9886218350509117, 'f1': 41.987887562469666, 'acc': 52.194657654561425, 'precision': 45.732661802221955, 'recall': 56.64855774923107, 'balanced acc': 56.64855774923107}
2024-12-22 01:44:07,754 - INFO - Validation Metrics... Inference time: 476.832
2024-12-22 01:44:07,754 - INFO - {'loss': 1.2685301584355972, 'f1': 43.76600777844709, 'acc': 48.60220018239854, 'precision': 46.80880456739944, 'recall': 61.98348927525629, 'balanced acc': 61.98348927525629}
2024-12-22 01:44:07,754 - INFO - ==================================================
2024-12-22 04:59:41,142 - INFO - Epoch: 5/100. Training time: 1868.114
2024-12-22 04:59:41,170 - INFO - Training Metrics...
2024-12-22 04:59:41,170 - INFO - {'loss': 0.772951339559602, 'f1': 55.30737366494477, 'acc': 66.64571638599305, 'precision': 56.54116083714976, 'recall': 67.5741256286117, 'balanced acc': 67.5741256286117}
2024-12-22 04:59:41,170 - INFO - Validation Metrics... Inference time: 463.054
2024-12-22 04:59:41,170 - INFO - {'loss': 1.0565509632521985, 'f1': 42.90480686718001, 'acc': 54.797746618027055, 'precision': 48.88416899877315, 'recall': 57.026154549404396, 'balanced acc': 57.026154549404396}
2024-12-22 04:59:41,170 - INFO - ==================================================
2024-12-22 08:05:32,980 - INFO - Epoch: 10/100. Training time: 1727.296
2024-12-22 08:05:32,996 - INFO - Training Metrics...
2024-12-22 08:05:32,996 - INFO - {'loss': 0.738534157205685, 'f1': 56.946155398360034, 'acc': 68.47232405391989, 'precision': 57.34441699925987, 'recall': 69.35749662069128, 'balanced acc': 69.35749662069128}
2024-12-22 08:05:32,997 - INFO - Validation Metrics... Inference time: 433.026
2024-12-22 08:05:32,997 - INFO - {'loss': 0.8836816701234556, 'f1': 50.65967145384239, 'acc': 63.7625588995288, 'precision': 51.52274650263355, 'recall': 61.81072220861837, 'balanced acc': 61.81072220861837}
2024-12-22 08:05:32,997 - INFO - ==================================================
2024-12-22 11:08:18,740 - INFO - Epoch: 15/100. Training time: 1713.371
2024-12-22 11:08:18,759 - INFO - Training Metrics...
2024-12-22 11:08:18,759 - INFO - {'loss': 0.7335747142730675, 'f1': 56.754005183327216, 'acc': 69.71432867453316, 'precision': 57.56200921320289, 'recall': 68.11435821605187, 'balanced acc': 68.11435821605187}
2024-12-22 11:08:18,759 - INFO - Validation Metrics... Inference time: 429.185
2024-12-22 11:08:18,759 - INFO - {'loss': 0.8818837112071467, 'f1': 54.11058100271637, 'acc': 62.96695926432589, 'precision': 56.39159780223297, 'recall': 66.69158007454786, 'balanced acc': 66.69158007454786}
2024-12-22 11:08:18,760 - INFO - ==================================================
2024-12-22 14:09:30,663 - INFO - Epoch: 20/100. Training time: 1724.757
2024-12-22 14:09:30,687 - INFO - Training Metrics...
2024-12-22 14:09:30,687 - INFO - {'loss': 0.7194920214526171, 'f1': 58.91549456182934, 'acc': 70.51095008973918, 'precision': 59.46860799259829, 'recall': 69.91707365888841, 'balanced acc': 69.91707365888841}
2024-12-22 14:09:30,687 - INFO - Validation Metrics... Inference time: 426.879
2024-12-22 14:09:30,687 - INFO - {'loss': 0.8538328888369542, 'f1': 58.54519855418119, 'acc': 65.3001975984192, 'precision': 59.17247857352164, 'recall': 72.28642974264032, 'balanced acc': 72.28642974264032}
2024-12-22 14:09:30,687 - INFO - ==================================================
2024-12-22 17:09:01,235 - INFO - Epoch: 25/100. Training time: 1775.285
2024-12-22 17:09:01,257 - INFO - Training Metrics...
2024-12-22 17:09:01,258 - INFO - {'loss': 0.7016954800765502, 'f1': 59.805478720329816, 'acc': 71.58821648146026, 'precision': 59.723796783161085, 'recall': 70.86290942245995, 'balanced acc': 70.86290942245995}
2024-12-22 17:09:01,258 - INFO - Validation Metrics... Inference time: 441.233
2024-12-22 17:09:01,258 - INFO - {'loss': 0.8336347960958294, 'f1': 59.64038116740856, 'acc': 67.09382124943001, 'precision': 60.1075770254774, 'recall': 72.43777051721823, 'balanced acc': 72.43777051721823}
2024-12-22 17:09:01,258 - INFO - ==================================================
2024-12-22 20:14:05,918 - INFO - Epoch: 30/100. Training time: 1770.576
2024-12-22 20:14:05,982 - INFO - Training Metrics...
2024-12-22 20:14:05,982 - INFO - {'loss': 0.6904806506457587, 'f1': 60.3608202407379, 'acc': 71.77896952686447, 'precision': 60.13008274576958, 'recall': 71.85343462267657, 'balanced acc': 71.85343462267657}
2024-12-22 20:14:05,982 - INFO - Validation Metrics... Inference time: 450.029
2024-12-22 20:14:05,982 - INFO - {'loss': 0.7706008191202202, 'f1': 56.06920554039624, 'acc': 68.31440948472412, 'precision': 56.004818026063155, 'recall': 66.06937813475714, 'balanced acc': 66.06937813475714}
2024-12-22 20:14:05,982 - INFO - ==================================================
2024-12-22 23:22:13,011 - INFO - Epoch: 35/100. Training time: 1830.704
2024-12-22 23:22:13,031 - INFO - Training Metrics...
2024-12-22 23:22:13,031 - INFO - {'loss': 0.6867610979549991, 'f1': 61.08894845958772, 'acc': 72.73253904609157, 'precision': 61.045634864310664, 'recall': 71.87153893374456, 'balanced acc': 71.87153893374456}
2024-12-22 23:22:13,031 - INFO - Validation Metrics... Inference time: 474.628
2024-12-22 23:22:13,031 - INFO - {'loss': 0.7809368348589131, 'f1': 60.53378614590693, 'acc': 69.21796625626995, 'precision': 60.020310571372534, 'recall': 73.1719622062408, 'balanced acc': 73.1719622062408}
2024-12-22 23:22:13,031 - INFO - ==================================================
2024-12-23 02:29:26,498 - INFO - Epoch: 40/100. Training time: 1776.987
2024-12-23 02:29:26,520 - INFO - Training Metrics...
2024-12-23 02:29:26,520 - INFO - {'loss': 0.6815541016644445, 'f1': 61.24379937420406, 'acc': 72.85526692633749, 'precision': 61.05732219938126, 'recall': 72.2806928037112, 'balanced acc': 72.2806928037112}
2024-12-23 02:29:26,520 - INFO - Validation Metrics... Inference time: 452.979
2024-12-23 02:29:26,520 - INFO - {'loss': 0.8090779570972219, 'f1': 60.08250231374276, 'acc': 68.09862821097431, 'precision': 59.98780014166225, 'recall': 73.32785305681521, 'balanced acc': 73.32785305681521}
2024-12-23 02:29:26,520 - INFO - ==================================================
2024-12-23 05:38:13,212 - INFO - Epoch: 45/100. Training time: 1753.863
2024-12-23 05:38:13,226 - INFO - Training Metrics...
2024-12-23 05:38:13,249 - INFO - {'loss': 0.6809032770800473, 'f1': 61.18247130553822, 'acc': 73.5936294726391, 'precision': 60.6772278924076, 'recall': 72.16439548750306, 'balanced acc': 72.16439548750306}
2024-12-23 05:38:13,249 - INFO - Validation Metrics... Inference time: 434.933
2024-12-23 05:38:13,249 - INFO - {'loss': 0.7783086977752984, 'f1': 59.65631273602029, 'acc': 66.77787277701779, 'precision': 61.425332841004845, 'recall': 71.22081190762023, 'balanced acc': 71.22081190762023}
2024-12-23 05:38:13,249 - INFO - ==================================================
2024-12-23 08:50:41,516 - INFO - Epoch: 50/100. Training time: 1866.026
2024-12-23 08:50:41,538 - INFO - Training Metrics...
2024-12-23 08:50:41,538 - INFO - {'loss': 0.6809709183688234, 'f1': 61.40664325116608, 'acc': 73.8235049833887, 'precision': 61.12828317246053, 'recall': 72.65022741585823, 'balanced acc': 72.65022741585823}
2024-12-23 08:50:41,538 - INFO - Validation Metrics... Inference time: 459.573
2024-12-23 08:50:41,538 - INFO - {'loss': 0.7792014596508998, 'f1': 61.05705185197207, 'acc': 67.1327519379845, 'precision': 61.99127630513394, 'recall': 73.35639563017405, 'balanced acc': 73.35639563017405}
2024-12-23 08:50:41,538 - INFO - ==================================================
2024-12-23 11:57:48,068 - INFO - Epoch: 55/100. Training time: 1767.676
2024-12-23 11:57:48,090 - INFO - Training Metrics...
2024-12-23 11:57:48,090 - INFO - {'loss': 0.6731402335202166, 'f1': 61.38580978317797, 'acc': 72.99552258754343, 'precision': 61.14526455154723, 'recall': 72.96428712457612, 'balanced acc': 72.96428712457612}
2024-12-23 11:57:48,091 - INFO - Validation Metrics... Inference time: 433.570
2024-12-23 11:57:48,091 - INFO - {'loss': 0.778915310607237, 'f1': 60.75219215933005, 'acc': 67.6828545371637, 'precision': 61.6307571913963, 'recall': 73.26337515435699, 'balanced acc': 73.26337515435699}
2024-12-23 11:57:48,091 - INFO - ==================================================
2024-12-23 15:16:40,157 - INFO - Epoch: 60/100. Training time: 1951.663
2024-12-23 15:16:40,225 - INFO - Training Metrics...
2024-12-23 15:16:40,225 - INFO - {'loss': 0.6742278501905244, 'f1': 61.57873616324402, 'acc': 73.34572497804254, 'precision': 61.414608807285866, 'recall': 72.07789306167415, 'balanced acc': 72.07789306167415}
2024-12-23 15:16:40,225 - INFO - Validation Metrics... Inference time: 485.337
2024-12-23 15:16:40,225 - INFO - {'loss': 0.7941822012265524, 'f1': 60.00514184194744, 'acc': 67.51605487156102, 'precision': 61.16574410923451, 'recall': 72.0758278730314, 'balanced acc': 72.0758278730314}
2024-12-23 15:16:40,225 - INFO - ==================================================
2024-12-23 18:34:56,146 - INFO - Epoch: 65/100. Training time: 1877.957
2024-12-23 18:34:56,169 - INFO - Training Metrics...
2024-12-23 18:34:56,169 - INFO - {'loss': 0.6667888513926802, 'f1': 61.58675252566539, 'acc': 74.65644212777333, 'precision': 61.13915110486497, 'recall': 71.60882400700585, 'balanced acc': 71.60882400700585}
2024-12-23 18:34:56,169 - INFO - Validation Metrics... Inference time: 463.191
2024-12-23 18:34:56,169 - INFO - {'loss': 0.7814610693968979, 'f1': 60.83974177685596, 'acc': 67.86698206414349, 'precision': 61.47095004410368, 'recall': 73.47852612507673, 'balanced acc': 73.47852612507673}
2024-12-23 18:34:56,169 - INFO - ==================================================
2024-12-23 21:49:02,613 - INFO - Epoch: 70/100. Training time: 1794.312
2024-12-23 21:49:02,635 - INFO - Training Metrics...
2024-12-23 21:49:02,635 - INFO - {'loss': 0.6635082428678504, 'f1': 62.52344547859665, 'acc': 73.96757455989614, 'precision': 62.24053062622799, 'recall': 73.39677571179851, 'balanced acc': 73.39677571179851}
2024-12-23 21:49:02,635 - INFO - Validation Metrics... Inference time: 444.629
2024-12-23 21:49:02,635 - INFO - {'loss': 0.7647519053197375, 'f1': 60.30209786519043, 'acc': 68.38524091807265, 'precision': 60.35879795839569, 'recall': 72.67762591314194, 'balanced acc': 72.67762591314194}
2024-12-23 21:49:02,635 - INFO - ==================================================
2024-12-24 00:58:13,398 - INFO - Epoch: 75/100. Training time: 1910.619
2024-12-24 00:58:13,434 - INFO - Training Metrics...
2024-12-24 00:58:13,474 - INFO - {'loss': 0.6624788486311588, 'f1': 62.384517789358085, 'acc': 74.61857982968648, 'precision': 61.618789763118855, 'recall': 73.17260500178517, 'balanced acc': 73.17260500178517}
2024-12-24 00:58:13,474 - INFO - Validation Metrics... Inference time: 466.862
2024-12-24 00:58:13,474 - INFO - {'loss': 0.7503950665978825, 'f1': 60.45718216601116, 'acc': 69.02707478340173, 'precision': 60.41382931108993, 'recall': 72.50455907557853, 'balanced acc': 72.50455907557853}
2024-12-24 00:58:13,474 - INFO - ==================================================
2024-12-24 04:54:07,021 - INFO - Epoch: 80/100. Training time: 1769.993
2024-12-24 04:54:07,037 - INFO - Training Metrics...
2024-12-24 04:54:07,037 - INFO - {'loss': 0.6629100265761314, 'f1': 62.24524935002139, 'acc': 74.47644823767519, 'precision': 61.77073958927002, 'recall': 72.90487542415505, 'balanced acc': 72.90487542415505}
2024-12-24 04:54:07,037 - INFO - Validation Metrics... Inference time: 426.764
2024-12-24 04:54:07,038 - INFO - {'loss': 0.752006869690091, 'f1': 61.08072297640758, 'acc': 69.38014895880833, 'precision': 60.86188860713827, 'recall': 73.44535785858068, 'balanced acc': 73.44535785858068}
2024-12-24 04:54:07,038 - INFO - ==================================================
2024-12-24 07:57:09,578 - INFO - Epoch: 85/100. Training time: 1760.123
2024-12-24 07:57:09,615 - INFO - Training Metrics...
2024-12-24 07:57:09,615 - INFO - {'loss': 0.6624942900512019, 'f1': 62.62797478572942, 'acc': 74.59323328369038, 'precision': 61.94012378847991, 'recall': 73.14316781438333, 'balanced acc': 73.14316781438333}
2024-12-24 07:57:09,615 - INFO - Validation Metrics... Inference time: 432.357
2024-12-24 07:57:09,615 - INFO - {'loss': 0.7523650772431317, 'f1': 61.02174561420598, 'acc': 69.30454856361149, 'precision': 60.78272982630929, 'recall': 73.43541067124926, 'balanced acc': 73.43541067124926}
2024-12-24 07:57:09,615 - INFO - ==================================================
2024-12-24 11:07:37,767 - INFO - Epoch: 90/100. Training time: 1836.610
2024-12-24 11:07:37,790 - INFO - Training Metrics...
2024-12-24 11:07:37,790 - INFO - {'loss': 0.6585983816038798, 'f1': 62.581383404664905, 'acc': 74.35063676633445, 'precision': 62.12803257257977, 'recall': 73.65210695282288, 'balanced acc': 73.65210695282288}
2024-12-24 11:07:37,790 - INFO - Validation Metrics... Inference time: 457.159
2024-12-24 11:07:37,790 - INFO - {'loss': 0.7543662038503909, 'f1': 61.202504845189644, 'acc': 69.10235218118255, 'precision': 61.11339196315678, 'recall': 73.64613896150429, 'balanced acc': 73.64613896150429}
2024-12-24 11:07:37,790 - INFO - ==================================================
2024-12-24 13:59:34,941 - INFO - Early stopping criterion met. Stopping training.
2024-12-24 14:09:38,584 - INFO - Final test metrics:
{'f1': 62.91368021692221, 'acc': 69.19927040583676, 'precision': 61.95230984269961, 'recall': 76.75061482235597, 'balanced acc': 76.75061482235597}
